<img src=**.asp?>图片输出ASP问题(高手来)

来源:百度知道 编辑:UC知道 时间:2024/05/16 13:17:20
我以做好个ASPJPEG计数器 http://www.skishop.cn/webjsq/webjsq.asp?action=freesoho&refresh=2&ty=fase
现在只能script这么输出
<script src=http://www.skishop.cn/webjsq/webjsq.asp?action=freesoho&refresh=2&ty=fase></script>
我想用IMG图片输出请问ASP里应该怎么写
<img src=http://skishop.cn/webjsq/webjsq.asp?action=freesoho&refresh=2&ty=fase>

Set AspJpeg = Server.Createobject("Persits.Jpeg")
AspJpeg.Open Server.MapPath("Program/Inc/Skin/Cash.Jpg")
Response.Clear
Response.ContentType="application/octet-stream"
Response.BinaryWrite AspJpeg.binary
Set AspJpeg=Nothing
Response.Flush
Response.End

用ASPJPEG打开一张图片,再用十六进制写出就行了,ASPJPEG支持直接输出:Response.BinaryWrite AspJpeg.binary